<?php

namespace App\Trip\Wechat\Pay;

use App\Trip\Wechat\Pay\PayRes\PayQuery;
use EasyWeChat\Kernel\Contracts\Config as ConfigInterface;

class Application extends \EasyWeChat\Pay\Application
{

    public function __construct(ConfigInterface|array $config)
    {
        parent::__construct($config);
    }

    public function getPayQuery(): PayQuery
    {
        return new PayQuery($this);
    }
}